package com.ef.dao;

import java.util.Date;
import java.util.List;

import com.ef.domain.Contract;
import com.ef.web.domain.CCPerformance;
import com.ef.web.domain.CRPerformance;
import com.ef.web.domain.Financial;
import com.ef.web.domain.RevenueCount;
import com.ef.web.domain.TMPerformance;

public interface ContractDao extends Dao<Contract> {

	public List<RevenueCount> sumByCC(Date start,Date end, Long schoolId, String ccList);
	
	public List<RevenueCount> sumByChannel(Date start,Date end, Long schoolId, String channelList);
	
	public List<RevenueCount> sumByCourse(Date start,Date end, Long schoolId, String courseList);
	
	public List<RevenueCount> depositByCC(Date start,Date end, Long schoolId, String ccList);
	
	public List<CCPerformance> performanceByCC(String month, Long schoolId);
	
	public List<CRPerformance> performanceByCR(String month, Long schoolId);
	
	public List<TMPerformance> performanceByTM(String month, Long schoolId);
	
	public List<Financial> financial(String year, Long schoolId);

}
